﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace xzz.webapi.Migrations
{
    /// <inheritdoc />
    public partial class seeddatatotable : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "Difficultys",
                columns: new[] { "Id", "Name" },
                values: new object[,]
                {
                    { new Guid("611acdba-afe4-4f78-8203-08dc34e7c312"), "困难" },
                    { new Guid("619acdba-afe4-4f78-8203-08dc34e7c312"), "适中" },
                    { new Guid("649acdba-afe4-4f78-8203-08dc34e7c312"), "简单" }
                });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Difficultys",
                keyColumn: "Id",
                keyValue: new Guid("611acdba-afe4-4f78-8203-08dc34e7c312"));

            migrationBuilder.DeleteData(
                table: "Difficultys",
                keyColumn: "Id",
                keyValue: new Guid("619acdba-afe4-4f78-8203-08dc34e7c312"));

            migrationBuilder.DeleteData(
                table: "Difficultys",
                keyColumn: "Id",
                keyValue: new Guid("649acdba-afe4-4f78-8203-08dc34e7c312"));
        }
    }
}
